#ifndef DYNAMIC_TRIMESH_H
#define DYNAMIC_TRIMESH_H

#include "Object.h"
#include "modelobj.h"

class DynamicTrimesh : public Object
{
public:
	DynamicTrimesh(dWorldID &world, dSpaceID &space, std::vector<Vertex> &verts, std::vector<GLuint> &indices);
	DynamicTrimesh(dWorldID &world, dSpaceID &space, char *fileName, bool normaliseModel);

	dTriMeshDataID data;

protected:
	virtual void renderInLocalFrame() const;
};

#endif //DYNAMIC_TRIMESH_H